$(function(){
	
	router.start({
        view: '#body_container',
        errorTemplateId: '#error', // 可选
        router: {
            'products': {
                templateUrl: './products.html',
                controller: '',
                styles:''
            },
            'chart' : {
            	templateUrl: './chart.html',
                controller: './js/chart/chart.js',
                styles:''
            },
            'planScheduling' : {
            	templateUrl: './planScheduling.html',
            	controller: '',
                styles:'./css/viewcss/planSchedul.css'
            }
//            'defaults': 'products' //默认路由
        }
    });

});
